package com.learn.dubbo.pojo;

import java.io.Serializable;
import java.lang.management.ManagementFactory;

/**
 * @author wangxing
 * @version 2020/6/8 11:06 Administrator
 */
public class User implements Serializable {
    private Integer id;
    private String name;
    private String sex;

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                '}' + ManagementFactory.getRuntimeMXBean().getName();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }
}
